import Vue from 'vue';
import Vuex from 'vuex';
import store from '@/store';
import app from './modules/app';

// eslint-disable-next-line
Vue.use(Vuex);

const debug = process.env.NODE_ENV !== 'production';

export default new Vuex.Store({
  modules: {
    ...store,
    app,
  },
  trict: debug,
});
